

<?php 
require('inc/db.php');

$id = $_GET['id'];
$sql = "select * from article where id=$id";
$result = mysql_query($sql, $conn);
$article = mysql_fetch_assoc($result);

?>

<?php include('header.php'); ?>
<div class="wrapper">
	<div class="main">
		<div class="bcl">
    		<div class="title">新闻中心</div>
            <div class="kuang">
            	<ul>
                	<li><a href="news_list.php?sort=kaiye">凯业新闻</a></li>  
      			  	<li><a href="news_list.php?sort=fagui">政策法规</a></li>
              	  	<li><a href="news_list.php?sort=hangye">行业新闻</a></li>
      			</ul>
            </div>
        </div>
        
        <div class="main_right">
    		<div class="title">凯业新闻</div>
        	<div class="news_c">
            	<div class="n_bt">
                	<h3><?php echo $article['title'] ?></h3>
                    <h4>
                    	作者：<?php echo $article['author'] ?>　
                    	来源：<?php echo $article['source'] ?>　
                    	发表时间：<?php echo $article['created'] ?>
                    </h4>
                </div>
                <div class="wz02">
                	<?php echo $article['content'] ?>
                </div>
           	</div>
        </div>
	</div>
</div>

<?php include('footer.php'); ?>